<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let grant = +prompt('请输入你的高考成绩')
    if (grant >= 700) {
      console.log("恭喜你被录取了");

    } else {
      console.log("很遗憾，你没有达到要求");

    }


  </script>
</body>

</html>